import Vue from 'vue'
import Router from 'vue-router'
import PageTransition from '../PageTransition.vue'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'PageTransition',
    component: PageTransition,
    children: [
         {
            path: '/hello',
            name: 'hello',
            meta: {
                title: 'hello'
            },
            component: (resolve) => require(['../views/hello.vue'], resolve)
        }
    ]
  }]
})

